package com.todo.biz.iface.backend.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author zhangwenxiang
 * @date 2024/3/13 19:41
 * @description
 */
@Data
@Schema(title = "审核结果记录返回", description = "审核结果记录返回")
public class QueryExamineRecordByConditionResp {

    /**
     * 业务场景
     */
    @Schema(title = "业务场景", description = "业务场景")
    private String businessScene;
    /**
     * 业务id
     */
    @Schema(title = "业务id", description = "业务id")
    private Long businessId;
    /**
     * 操作类型：人工、机器、机器失败转人工
     */
    @Schema(title = "操作类型", description = "操作类型")
    private String operateType;
    /**
     * 操作人
     */
    @Schema(title = "操作人", description = "操作人")
    private Long operateUser;

    /**
     * 校验记录详情
     */
    @Schema(title = "校验记录详情", description = "校验记录详情")
    private List<ExamineRecord> examineRecordList;


    @Data
    public static class ExamineRecord {
        /**
         * 主键
         */
        @Schema(title = "主键", description = "主键")
        private Long id;
        /**
         * 文字、图片、视频、音频
         */
        @Schema(title = "校验类型", description = "文字、图片、视频、音频")
        private String examineType;
        /**
         * 校验状态
         */
        @Schema(title = "校验状态", description = "校验状态")
        private String examineStatus;
        /**
         * 原数据
         */
        @Schema(title = "原数据", description = "原数据")
        private String sourceInfo;
        /**
         * 结果详情
         */
        @Schema(title = "结果详情", description = "结果详情")
        private String resultDetail;
        /**
         * 操作时间
         */
        @Schema(title = "操作时间", description = "操作时间")
        private String operateTime;
        /**
         * 创建时间
         */
        @Schema(title = "创建时间", description = "创建时间")
        private String createTime;
    }


}
